package logic

import (
	"my_chat/dao/mysql"
	"my_chat/model"
)


func CreateUser(p *model.User) (data interface{}, err error) {
	return mysql.CreateUser(p)
}

func Login(p *model.UserLogin) (data interface{}, err error) {
	return mysql.Login(p)
}